package com.approval.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Map;

@Data
public class StartProcessRequest {
    
    @NotNull(message = "流程ID不能为空")
    private Long processId;
    
    @NotBlank(message = "标题不能为空")
    private String title;
    
    private Map<String, Object> formData;
    
    // 内容字段
    private String content;
}

